-- GENERATED SPELL FOR [Earthen Warder] --


function spell0_29981(pUnit, Event) --@Lava Burst,n/a--
pUnit:FullCastSpellOnTarget(55704,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29981', 2000, 1)
end

function Sorts_29981(pUnit, Event)
local choix_sorts_29981 = math.random(0, 0)
if choix_sorts_29981 == 0 then
pUnit:RegisterEvent('spell0_29981', 1, 1)
end
end

function mob29981_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29981', math.random(1500, 3000), 1)
end

function mob29981_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29981_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29981_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29981, 1, 'mob29981_Action')
RegisterUnitEvent(29981, 2, 'mob29981_Leave')
RegisterUnitEvent(29981, 3, 'mob29981_Kill')
RegisterUnitEvent(29981, 4, 'mob29981_Die')
